# 【练习】员工薪资
# 设计一个简单员工系统设计，包括不同类型的员工（如全职员工和兼职员工）。每个员工有不同的薪资计算方法
class Staff:
    def __init__(self,wage,day):
        self.wage = wage
        self.day = day
    def Money(self):
        pass

class Full_time_employee(Staff):
    def __init__(self,wage,day):
        super().__init__(wage,day)
    def Money(self):
        return self.wage * self.day

class Part_time_employee(Staff):
    def __init__(self,wage,day):
        super().__init__(wage,day)
    def Money(self):
        return self.wage * self.day

if __name__ == "__main__":
    full = Full_time_employee(200,30)
    part = Part_time_employee(150,8)

    print(f"全职员工的工资(天)是{full.wage},一个月工作{full.day}天,工资是{full.Money()}")
    print(f"兼职员工的工资(天)是{part.wage},一个月工作{part.day}天,工资是{part.Money()}")